home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Shareware
/
IDimager Personal 4.2.0.3
/
setup_IDimager_Personal_V4.exe
/
{app}
/
web
/
modules
/
gadget.psc
< prev
next >
Wrap
Text File
|
2008-06-09
|
728b
|
35 lines
%code
%include storeddata.inc %/include
%include resulttable.inc %/include
var
AItems: TCatalogItems;
i: Integer;
begin
if not FindStoredData ('dsGADGET', AItems, False) then
begin
AItems := TCatalogItems.Create (TCatalogItem, '');
StoreData ('dsGADGET', AItems);
end;
if Request.Params.Values['type'] ='bookmarked' then
begin
AItems.Clear;
AItems.LastSort := csPhotoDate;
AItems.LastSortOrder := stDescending;
Catalog.EnumAllBookmarkedItems (AItems);
AItems.Name := toWideString('');
AItems.GUID := Request.Params.Values['GUID'];
AItems.Name := '';
end;
result := IncludeResultTable (AItems, 'dsGADGET', 1, 12, 65);
end;
%/code